home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 3 / ct-rom iiib.zip / ct-rom iiib / WINDOWS / UTILITY / DESKTOP / W_ONE49 / TOUCH.H_ / TOUCH.H
C/C++ Source or Header  |  1994-04-27  |  2KB  |  46 lines

  1. #include "woio.h"
  2.  
  3. /******************************************************************\
  4. *                                                                  *
  5. *           w       w                oooo                           *
  6. *           w       w  iii  n   n   o    o   n   n  eeee            *
  7. *           w       w   i   nn  n  o      o  nn  n  e               *
  8. *           w   w   w   i   n n n  o      o  n n n  eee             *
  9. *              w w w w    i   n  nn   o    o   n  nn  e               *
  10. *              w   w    iii  n   n    oooo    n   n  eeee            *
  11. *                                                                      *
  12. *     C o m m a n d   L a n g u a g e   I n t e r p r e t e r      *
  13. *                                                                      *
  14. *                                                                      *
  15. *    Written by Lucien Cinc                                         *
  16. *    Copyright (c) 1992, 1993                                       *
  17. *                                                                  *
  18. \******************************************************************/
  19.  
  20. #include <fcntl.h>
  21. #include <sys/stat.h>
  22. #include <ctype.h>
  23. #include <string.h>
  24. #include <dos.h>
  25. #include <io.h>
  26.  
  27. #define VERSION    12
  28.  
  29. typedef union {
  30.         unsigned u;
  31.         struct {
  32.                unsigned Day : 5;
  33.                unsigned Month : 4;
  34.                unsigned Year  : 7;
  35.                } b;
  36. } DOS_FILE_DATE;
  37.  
  38. typedef union {
  39.         unsigned u;
  40.         struct {
  41.                unsigned Second : 5;
  42.                unsigned Minute : 6;
  43.                unsigned Hour   : 5;
  44.                } b;
  45. } DOS_FILE_TIME;
  46.